| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

FunctionDefines.h
1 // FunctionDefines.h
3 //
5
6 namespace nkScripts
7 {
8 using DataStack = nkMemory::BufferView<FunctionParameter> ;
9 using OutputValue = FunctionParameter ;
10 using FunctionCallback = std::function<OutputValue(const DataStack&)> ;
11 }
nkScripts
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkScripts::FunctionCallback
std::function< OutputValue(const DataStack &)> FunctionCallback
A callback in C++, the script environment will call when tied.
Definition: FunctionDefines.h:10
nkScripts::OutputValue
FunctionParameter OutputValue
The ouput value for a function.
Definition: FunctionDefines.h:9